package com.translate.web.param;

import javax.validation.constraints.NotNull;

import com.param.impl.PageParam;

public class DepartmentSearch extends PageParam  {

    //1:手机  2:邮箱  3:设置密码
    private int accountType;

    //1:绑定  2:修改  3:解绑
    @NotNull
    private int opera;

    //原手机号
    private String phone;

    //新手机号
    private String newPhone;

    //原邮箱
    private String email;

    //新邮箱
    private String newEmail;

    //新密码
    private String newPassWord;

    //原密码
    private String password;

    //验证码
    private Integer code;

    public String getNewPhone() {
        return newPhone;
    }

    public void setNewPhone(String newPhone) {
        this.newPhone = newPhone;
    }

    public String getNewEmail() {
        return newEmail;
    }

    public void setNewEmail(String newEmail) {
        this.newEmail = newEmail;
    }

    public String getNewPassWord() {
        return newPassWord;
    }

    public void setNewPassWord(String newPassWord) {
        this.newPassWord = newPassWord;
    }

    public int getOpera() {
        return opera;
    }

    public void setOpera(int opera) {
        this.opera = opera;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public int getAccountType() {
        return accountType;
    }

    public void setAccountType(int accountType) {
        this.accountType = accountType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
